const core = require('./vue-core')
const showdiv = document.getElementById('show')
const showinput = document.getElementById('show2')
var vm = new core({
  el: "#app",
  data: {
    msg: "Hello",
    color: 'black'
  },
  methods: {
    handleClick: function () {
      console.log("handleClick", this.msg);
    },
    colorchange: function (e) {
      e.preventDefault();
      showdiv.style.backgroundColor = this.color;
      showinput.style.backgroundColor = this.color;
      showinput.style.borderColor = this.color;
    },
  },
});
